package com.realtyManage.springboot.Service.impl;

import com.realtyManage.springboot.Config.MyLog;
import com.realtyManage.springboot.Dao.CodeRepository;
import com.realtyManage.springboot.Model.Do.Code;
import com.realtyManage.springboot.Service.ICodeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.transaction.Transactional;
import java.util.List;

/**
 * SpecialOfferHouseServiceImpl
 *
 * @Author 杭州素色网络科技有限公司
 * @Date 2019/5/15
 **/
@Service
@Transactional
public class CodeServiceImpl implements ICodeService {
    @Autowired
    private CodeRepository codeRepository;

    @Override
    public List<Code> findCode() {
        return codeRepository.findCode();
    }

}
